import request from '@/utils/request'

// QA列表
export function contentLists(params?: Record<string, any>) {
    return request.get({ url: '/content/list', params })
}

// QA详情
export function contentDetail(params: Record<string, any>) {
    return request.get({ url: '/content/detail', params })
}

// QA新增
export function contentAdd(params: Record<string, any>) {
    return request.post({ url: '/content/add', params })
}

// QA编辑
export function contentEdit(params: Record<string, any>) {
    return request.post({ url: '/content/edit', params })
}

// QA删除
export function contentDelete(params: Record<string, any>) {
    return request.post({ url: '/content/del', params })
}
